package com.zhdl.modules.system.entity;

import com.project.common.bean.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "sys_customer_user")
@EqualsAndHashCode(callSuper = true)
public class CustomerUser extends BaseEntity<CustomerUser, String> {

    @Id
    private String id;

    //用户名
    private String username;

    //密码
    private String password;

    //真实姓名
    private String realName;

    //身份/角色
    private Integer identity;
}
